package com.steve.summary.saga.编排式.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: STEVE
 * @Description: 支付处理事件，当支付服务完成支付处理后发布此事件
 * @since: 2025-05-27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PaymentProcessedEvent {

    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 是否成功
     */
    private boolean success;
    /**
     * 处理消息
     */
    private String message;

}
